API Documentation
Static Public Member Functions | List of all members
nkWinUi::Notificator Class Referencefinal

Gather notification and popup related functions. More...

Static Public Member Functions

static void popup (const NotificationPositionDescriptor &positionInfo, const PopupYesNoDescriptor &descriptor)
 
static void popup (const NotificationPositionDescriptor &positionInfo, const PopupCustomDescriptor &descriptor)
 

Detailed Description

Gather notification and popup related functions.

Using the methods in this class, it is possible to issue notifications and popups.

Member Function Documentation

◆ popup() [1/2]

static void nkWinUi::Notificator::popup ( const NotificationPositionDescriptor positionInfo,
const PopupYesNoDescriptor descriptor 
)
static

Makes a yes / no popup pop on screen. The function is synchronous and will return after the popup disappears, either through cancelling or accepting.

Parameters
positionInfoThe description of the position required for the popup.
descriptorThe description of the behaviour of the popup.

◆ popup() [2/2]

static void nkWinUi::Notificator::popup ( const NotificationPositionDescriptor positionInfo,
const PopupCustomDescriptor descriptor 
)
static

Makes a popup with a custom interface pop on screen. The function is synchronous and will return after the popup disappears, either through cancelling or accepting. As a result, it is vital to have the interface signaling the end of processing through the flag in its descriptor.

Parameters
positionInfoThe description of the position required for the popup.
descriptorThe description of the behaviour of the popup.

The documentation for this class was generated from the following file: